package com.edu.base.ums.umsMember.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 会员对象 ums_member
 * 
 * @author lzs
 * @date 2021-02-21
 */
@ApiModel("会员对象")
public class UmsMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "用户id")
    private Long id;

    /** 会员类型(3家长 1学生 2老师 4游客) */
    @ApiModelProperty(value = "会员类型(3家长 1学生 2老师 4游客)")
    private String memberType;

    /**  */
    @ApiModelProperty(value = "会员级别") 
    private Long memberLevelId;

    /** 用户名 */
    @ApiModelProperty(value = "用户名") 
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @ApiModelProperty(value = "密码") 
    private String password;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 手机号码 */
    @ApiModelProperty(value = "手机号码") 
    @Excel(name = "手机号码")
    private String phone;

    /** 帐号启用状态:0->禁用；1->启用 */
    @ApiModelProperty(value = "帐号启用状态:0->禁用；1->启用") 
    @Excel(name = "帐号启用状态:0->禁用；1->启用")
    private String status;

    /** 最后登录时间 */
    private Date loginTime;

    /** 禁用时间 */
    private Date banTime;

    /** 头像 */
    private String icon;

    /** 性别：0->未知；1->男；2->女 */
    private Integer gender;

    /** 生日 */
    private Date birthday;

    /** 所做城市 */
    @Excel(name = "所做城市")
    private String city;

    /** 职业 */
    private String job;

    /** 个性签名 */
    private String personalizedSignature;

    /** 用户来源 1 小程序 2 公众号 3 页面 */
    private Integer sourceType;

    /** 积分 */
    private Long integration;

    /** 成长值 */
    private Long growth;

    /** 剩余抽奖次数 */
    private Long luckeyCount;

    /** 历史积分数量 */
    private Long historyIntegration;

    /** $column.columnComment */
    private String avatar;

    /** $column.columnComment */
    private String weixinOpenid;

    /** $column.columnComment */
    private String invitecode;

    /** 余额 */
    private BigDecimal blance;

    /** 所在学校 */
    @Excel(name = "所在学校")
    private String schoolId;

    /** 所属店铺 */
    private Long storeId;

    /** 地区ID */
    private Long areaId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 地区名称 */
    private String areaName;

    /** $column.columnComment */
    private Long buyCount;

    /** $column.columnComment */
    private Long buyMoney;

    /** $column.columnComment */
    private String memberLevelName;

    /** 婚姻状态( 0：未婚  1：已婚) */
    private String marStatus;

    /** QQtoken */
    private String qqToken;

    /** 微博token */
    private String blogToken;

    /** 微信昵称 */
    private String weixinNickName;

    /** qq昵称 */
    private String qqNickName;

    /** 微博昵称 */
    private String weiboNickName;

    /** 创建时间 */
    private Date createDate;

    /** 修改时间 */
    private Date updateDate;

    /** 备注 */
    private String remarks;

    /** 删除标记 */
    private String delFlag;

    /** 省代码 */
    private String provCode;

    /** 城市代码 */
    private String cityCode;

    /** 区县代码 */
    private String countryCode;

    /** 年级 */
    @Excel(name = "年级")
    private String grades;

    /** 苹果id */
    private String appleId;

    /** 支付密码 */
    private String payPassWord;

    /** 设备id(用于游客登录身份标识) */
    private String termIdValue;

    /** 设备信息 */
    private String termDetails;
    
    /**
     * 用户唯一标识
     */
    @ApiModelProperty(value = "token") 
    @Transient
    private String token;
    
    /**
     * 过期时间
     */
    private Long expireTime;
    
    @ApiModelProperty(value = "验证码") 
    private String  code;
    
     

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberType(String memberType) 
    {
        this.memberType = memberType;
    }

    public String getMemberType() 
    {
        return memberType;
    }
    public void setMemberLevelId(Long memberLevelId) 
    {
        this.memberLevelId = memberLevelId;
    }

    public Long getMemberLevelId() 
    {
        return memberLevelId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setLoginTime(Date loginTime) 
    {
        this.loginTime = loginTime;
    }

    public Date getLoginTime() 
    {
        return loginTime;
    }
    public void setBanTime(Date banTime) 
    {
        this.banTime = banTime;
    }

    public Date getBanTime() 
    {
        return banTime;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setPersonalizedSignature(String personalizedSignature) 
    {
        this.personalizedSignature = personalizedSignature;
    }

    public String getPersonalizedSignature() 
    {
        return personalizedSignature;
    }
    public void setSourceType(Integer sourceType) 
    {
        this.sourceType = sourceType;
    }

    public Integer getSourceType() 
    {
        return sourceType;
    }
    public void setIntegration(Long integration) 
    {
        this.integration = integration;
    }

    public Long getIntegration() 
    {
        return integration;
    }
    public void setGrowth(Long growth) 
    {
        this.growth = growth;
    }

    public Long getGrowth() 
    {
        return growth;
    }
    public void setLuckeyCount(Long luckeyCount) 
    {
        this.luckeyCount = luckeyCount;
    }

    public Long getLuckeyCount() 
    {
        return luckeyCount;
    }
    public void setHistoryIntegration(Long historyIntegration) 
    {
        this.historyIntegration = historyIntegration;
    }

    public Long getHistoryIntegration() 
    {
        return historyIntegration;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setWeixinOpenid(String weixinOpenid) 
    {
        this.weixinOpenid = weixinOpenid;
    }

    public String getWeixinOpenid() 
    {
        return weixinOpenid;
    }
    public void setInvitecode(String invitecode) 
    {
        this.invitecode = invitecode;
    }

    public String getInvitecode() 
    {
        return invitecode;
    }
    public void setBlance(BigDecimal blance) 
    {
        this.blance = blance;
    }

    public BigDecimal getBlance() 
    {
        return blance;
    }
    public void setSchoolId(String schoolId) 
    {
        this.schoolId = schoolId;
    }

    public String getSchoolId() 
    {
        return schoolId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setBuyCount(Long buyCount) 
    {
        this.buyCount = buyCount;
    }

    public Long getBuyCount() 
    {
        return buyCount;
    }
    public void setBuyMoney(Long buyMoney) 
    {
        this.buyMoney = buyMoney;
    }

    public Long getBuyMoney() 
    {
        return buyMoney;
    }
    public void setMemberLevelName(String memberLevelName) 
    {
        this.memberLevelName = memberLevelName;
    }

    public String getMemberLevelName() 
    {
        return memberLevelName;
    }
    public void setMarStatus(String marStatus) 
    {
        this.marStatus = marStatus;
    }

    public String getMarStatus() 
    {
        return marStatus;
    }
    public void setQqToken(String qqToken) 
    {
        this.qqToken = qqToken;
    }

    public String getQqToken() 
    {
        return qqToken;
    }
    public void setBlogToken(String blogToken) 
    {
        this.blogToken = blogToken;
    }

    public String getBlogToken() 
    {
        return blogToken;
    }
    public void setWeixinNickName(String weixinNickName) 
    {
        this.weixinNickName = weixinNickName;
    }

    public String getWeixinNickName() 
    {
        return weixinNickName;
    }
    public void setQqNickName(String qqNickName) 
    {
        this.qqNickName = qqNickName;
    }

    public String getQqNickName() 
    {
        return qqNickName;
    }
    public void setWeiboNickName(String weiboNickName) 
    {
        this.weiboNickName = weiboNickName;
    }

    public String getWeiboNickName() 
    {
        return weiboNickName;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setProvCode(String provCode) 
    {
        this.provCode = provCode;
    }

    public String getProvCode() 
    {
        return provCode;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCountryCode(String countryCode) 
    {
        this.countryCode = countryCode;
    }

    public String getCountryCode() 
    {
        return countryCode;
    }
    public void setGrades(String grades) 
    {
        this.grades = grades;
    }

    public String getGrades() 
    {
        return grades;
    }
    public void setAppleId(String appleId) 
    {
        this.appleId = appleId;
    }

    public String getAppleId() 
    {
        return appleId;
    }
    public void setPayPassWord(String payPassWord) 
    {
        this.payPassWord = payPassWord;
    }

    public String getPayPassWord() 
    {
        return payPassWord;
    }
    public void setTermIdValue(String termIdValue) 
    {
        this.termIdValue = termIdValue;
    }

    public String getTermIdValue() 
    {
        return termIdValue;
    }
    public void setTermDetails(String termDetails) 
    {
        this.termDetails = termDetails;
    }

    public String getTermDetails() 
    {
        return termDetails;
    }
    
    

    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	
	

	public Long getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Long expireTime) {
		this.expireTime = expireTime;
	}

	@Override
	public String toString() {
		return "UmsMember [id=" + id + ", memberType=" + memberType + ", memberLevelId=" + memberLevelId + ", username="
				+ username + ", password=" + password + ", nickName=" + nickName + ", phone=" + phone + ", status="
				+ status + ", loginTime=" + loginTime + ", banTime=" + banTime + ", icon=" + icon + ", gender=" + gender
				+ ", birthday=" + birthday + ", city=" + city + ", job=" + job + ", personalizedSignature="
				+ personalizedSignature + ", sourceType=" + sourceType + ", integration=" + integration + ", growth="
				+ growth + ", luckeyCount=" + luckeyCount + ", historyIntegration=" + historyIntegration + ", avatar="
				+ avatar + ", weixinOpenid=" + weixinOpenid + ", invitecode=" + invitecode + ", blance=" + blance
				+ ", schoolId=" + schoolId + ", storeId=" + storeId + ", areaId=" + areaId + ", schoolName="
				+ schoolName + ", areaName=" + areaName + ", buyCount=" + buyCount + ", buyMoney=" + buyMoney
				+ ", memberLevelName=" + memberLevelName + ", marStatus=" + marStatus + ", qqToken=" + qqToken
				+ ", blogToken=" + blogToken + ", weixinNickName=" + weixinNickName + ", qqNickName=" + qqNickName
				+ ", weiboNickName=" + weiboNickName + ", createDate=" + createDate + ", updateDate=" + updateDate
				+ ", remarks=" + remarks + ", delFlag=" + delFlag + ", provCode=" + provCode + ", cityCode=" + cityCode
				+ ", countryCode=" + countryCode + ", grades=" + grades + ", appleId=" + appleId + ", payPassWord="
				+ payPassWord + ", termIdValue=" + termIdValue + ", termDetails=" + termDetails + ", token=" + token
				+ ", expireTime=" + expireTime + ", code=" + code + "]";
	}
	
	
}
